﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HPCERP.WebSite.Areas.Finance
{
    public class Routes : AreaRegistration
    {
        public override string AreaName
        {
            get { return "Finance"; }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Finance_Default",                                   // Route name
                "Finance/{controller}/{action}/{id}",                // URL with parameters
                new { controller = "Home", action = "Index", id = "" },  // Parameter defaults
                null,
                new string[] {"Finance"}
            );
        }
    }
}